package service

import "testhttp/dao"

func VarifyUser(quser, qpasswd string) bool {
	a := dao.GetUser(quser)
	if quser == a[0].UserName && qpasswd == a[0].PassWord {
		return true
	} else {
		return false
	}
}
